package com.yxhl.zoume.data.http.rest.response.passenger;

import com.google.gson.annotations.SerializedName;
import com.yxhl.zoume.data.http.model.passenger.ZMPassenger;
import com.yxhl.zoume.data.http.rest.response.base.BaseResponse;

/**
 * Created by Xboy on 16/3/18.
 */
public class AddPassengerResponse extends BaseResponse {

    @SerializedName("contract")
    private ZMPassenger passenger;


    public ZMPassenger getPassenger() {
        return passenger;
    }

    public AddPassengerResponse setPassenger(ZMPassenger passenger) {
        this.passenger = passenger;
        return this;
    }

    @Override
    public String toString() {
        return "AddPassengerResponse{" +
                "passenger=" + passenger +
                '}';
    }
}
